﻿@using System.Text
<div class="bjui-pageHeader">
    <div class="bjui-searchBar">
       
            @*<label>名称：</label><input type="text" value="" name="code" size="10">&nbsp;
                <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
                <a class="btn btn-orange" href="javascript:;" data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">
                    清空查询
                </a></li>*@
            <div class="pull-right">
                @{
                    var sb = new StringBuilder();
                    foreach (var element in ViewBag.Module.Elements)
                    {
                        sb.Append("<" + element.Type
                                  + " data-icon='" + element.Icon + "' "
                                  + " id='" + element.DomId + "' "
                                  + " class='" + element.Class + "' "
                                  + " onclick='" + element.Script + "' " + element.Attr
                                  + ">" + element.Name + "</" + element.Type + ">");
                    }
                    @Html.Raw(sb.ToString())
                }
            </div>


    </div>
</div>
